﻿using Demo.Admin.Application.Contracts.Users.Dto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Demo.Admin.Application.Contracts.Users;

/// <summary>
/// 用户管理服务接口
/// </summary>
public interface IAdminUserAppService:IApplicationService
{
    /// <summary>
    /// 创建用户
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<bool> CreateAsync(AdminUserCreateDto input);

    /// <summary>
    /// 分页查询用户列表
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<PagedResultDto<AdminUserDto>> GetListAsync(PagedAndSortedResultRequestDto input);
}